﻿using System.Collections.Generic;

namespace HVACWebService.DomainModel.Able
{


   

    public class AbleDevicesExtend
    {
        public List<AbleDeviceModelExtend> devices { get; set; }
        public string UserId { get; set; }
    }



    public class AbleDevicesExtendPost
    {
        public List<AbleDeviceModelExtend> deviceList { get; set; }
        public int type { get; set; }

        public  string value { get; set; }

        public string minFan { get; set; }
        public string maxFan { get; set; }
        public string userId { get; set; }

        public string userToken { get; set; }
        public string openId { get; set; }


    }

    /// <summary>
    /// AbleDevice 的摘要说明
    /// </summary>
    public class AbleDeviceModelExtend
    {
        public string deviceId { get; set; }
        public string name { get; set; }
        public string owner { get; set; }
        public string rootId { get; set; }
        public string subDomainId { get; set; }
        public string aesKey { get; set; }
        public string physicalDeviceId { get; set; }
        public string gatewayDeviceId { get; set; }
        public string status { get; set; }

    }


    public class AbleDeviceBaseInfo
    {
      public  string OpenId { get; set; }
        public string DeviceId { get; set; }
        public string PhysicalDeviceId { get; set; }
    }



    /// <summary>
    /// 
    /// </summary>
    public class AbleDevicesForServiceGetDeviceListModel
    {
        public List<AbleDeviceForServiceGetDeviceListModel> devices { get; set; }
        public string UserId { get; set; }
    }

    /// <summary>
    /// AbleDevice 的摘要说明
    /// </summary>
    public class AbleDeviceForServiceGetDeviceListModel
    {
        public string deviceId { get; set; }
        public string name { get; set; }
        public string owner { get; set; }
        public string rootId { get; set; }
        public string subDomainId { get; set; }
        public string aesKey { get; set; }
        public string physicalDeviceId { get; set; }
        public string gatewayDeviceId { get; set; }
        public string status { get; set; }
    }


    /// <summary>
    /// AbleDevice 的摘要说明
    /// </summary>
    public class AbleDeviceModel
    {
          public string DeviceId { get;set; }
          public string Name { get; set; }
          public string Owner { get; set; }
          public string RootId { get; set; }
          public string SubDomainId { get; set; }
          public string AesKey { get; set; }
          public string PhysicalDeviceId { get; set; }
          public string GatewayDeviceId { get; set; }
          public string Status { get; set; }
    }

        /// <summary>
    /// AbleDevice 的摘要说明
    /// </summary>
    public class AbleDevices
    {
        public List<AbleDeviceModel> UserAllAbleDevices { get; set; }
        public string UserId { get; set; }
    }

    public class AbleDeviceInfoExpand : AbleDeviceInfo
    {
        public string PhysicalDeviceId { get; set; }
        public string Message { get; set; }
        public string AbleDeviceId { get; set; }

        public string KeyId { get; set; }
        
    }

    public class AbleDeviceInfo 
    {

        public string code { get; set; }
        public string indoorTemp { get; set; }

        public string outdoorTemp { get; set; }
        public string humidity { get; set; }

        public string co2 { get; set; }
        public string pm25 { get; set; }

        public string pwm { get; set; }
        public int? speed { get; set; }

        public string name { get; set; }

        public string error { get; set; }
    }

    public class AbleDeviceInfoToWechat
    {

        public string code { get; set; }
        public string indoorTemp { get; set; }

        public string outdoorTemp { get; set; }
        public string humidity { get; set; }

        public string co2 { get; set; }
        public string pm25 { get; set; }

        public string pwm { get; set; }
        public int? speed { get; set; }

        public string name { get; set; }

        public string error { get; set; }
    }
}